/* ========================================
   SERVICIOS.CSS
   VERSIÓN PREMIUM CORPORATIVA
   Estilo tipo DHL / empresa logística PRO
======================================== */

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --primary: #0b3d91;
  --primary-dark: #072b63;
  --secondary: #1e88e5;
  --accent: #4dabf7;
  --light: #f5f8fd;
  --white: #ffffff;
  --text: #1f2937;
  --gray: #6b7280;
  --border: #dbe4f0;
  --shadow: 0 12px 35px rgba(11, 61, 145, 0.08);
  --shadow-hover: 0 18px 45px rgba(11, 61, 145, 0.16);
  --radius: 16px;
  --transition: all 0.35s ease;
}

/* BASE */
body {
  font-family: Arial, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* ========================================
   HEADER
======================================== */

.header {
  width: 100%;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
}

.logo {
  height: 60px;
  width: auto;
}

/* NAV */

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--secondary);
}

/* BOTONES */

.nav-phone {
  padding: 10px 18px;
  border: 2px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
}

.nav-phone:hover {
  background: var(--primary);
  color: white;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.nav-cta:hover {
  transform: translateY(-2px);
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  min-width: 230px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
}

.dropdown-menu a:hover {
  background: var(--light);
}

/* ========================================
   SECCIÓN SERVICIOS
======================================== */

section {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.card {
  background: white;
  padding: 60px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card h2 {
  text-align: center;
  font-size: 44px;
  color: var(--primary);
  margin-bottom: 14px;
  font-weight: 800;
}

.card h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* ========================================
   GRID SERVICIOS PREMIUM
======================================== */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 50px;
}

/* CAJA */

.service {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: #b8d4f5;
}

/* TITULO */

.service h3 {
  font-size: 19px;
  color: var(--primary);
  text-align: center;
  margin-bottom: 14px;
  font-weight: 800;
  min-height: 52px;
}

/* IMAGEN */

.service img {
  width: 150px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
  transition: var(--transition);
}

.service:hover img {
  transform: scale(1.03);
}

/* TEXTO */

.service p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  text-align: left;
  width: 100%;
}

/* =========================
   FOOTER 
========================= */

.footer {
  background: #061a3a;
  color: white;
  padding-top: 70px;
}

.footer-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding-bottom: 50px;
}

.footer h3 {
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer a:hover {
  color: white;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.footer-badges span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #8ec2fd;
  background: rgba(142, 194, 253, 0.12);
  border: 1px solid rgba(142, 194, 253, 0.35);
  white-space: nowrap;
}

.footer-main {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-main p {
  margin-bottom: 20px;
}

.footer-meta {
  padding: 25px 20px;
}

.meta-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
}

.meta-navigation a {
  font-size: 14px;
}

.footer-copy {
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
}

/* BANDERA */

.flag-icon-inline {
  width: 22px;
  vertical-align: middle;
  margin-left: 8px;
  border-radius: 3px;
}

/* =========================
   WHATSAPP
========================= */
.whatsapp{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  text-decoration:none;
  padding:14px 18px;
  border-radius:40px;
  font-weight:bold;
  box-shadow:0 6px 20px rgba(0,0,0,0.2);
  z-index:999;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

  .header-container{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    gap:15px;
  }

  .hero h1{
    font-size:32px;
  }

  .hero p{
    font-size:18px;
  }

  .footer-main{
    flex-direction:column;
    text-align:center;
  }
}